package com.bdqn.service;

import com.bdqn.entity.Setmeal;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bdqn.param.response.Page;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author hunter
 * @since 2022-06-11
 */
public interface SetmealService extends IService<Setmeal> {

    Page<Setmeal> pageInfo(Integer page, Integer pageSize, String name);

    //通过套餐的分类id查询该套餐id下启动状态的套餐列表
    List<Setmeal> selectByCategoryId(Long categoryId, Integer status);
}
